#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<math.h>

int main()
{
    int n = 0;
    scanf("%d", &n);
    int y = 0;
    y = pow(2, n);
    printf("%d^%d = %d", 2, n, y);
    return 0;
}